<template>
  <div class="app-container">
    <div class="main-layout">
      <Navigation />
      <div class="content-container">
        <router-view />
      </div>
    </div>
  </div>
</template>

<script>
import Navigation from './components/Navigation.vue'

export default {
  name: 'App',
  components: {
    Navigation
  }
}
</script>

<style>
.app-container {
  padding: 0;
  margin: 0;
  height: 100vh;
  width: 100%;
  overflow-x: hidden;
}

.main-layout {
  display: flex;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.content-container {
  flex: 1;
  padding: 20px;
  overflow-x: hidden;
  box-sizing: border-box;
  min-width: 0; /* 防止flex子项溢出 */
}

/* 全局样式 */
:deep(*) {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
}
</style> 